<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
<f:view>
	<head>
		<f:loadBundle basename="messages" var="msgs" />
		<title>Teamer</title>
		
		<link
			href="${facesContext.externalContext.requestContextPath}/views/css/uni_form.css"
			media="screen" rel="stylesheet" type="text/css" />
		<link
			href="${facesContext.externalContext.requestContextPath}/views/css/home1.css"
			media="screen" rel="stylesheet" type="text/css" />
		<link
			href="${facesContext.externalContext.requestContextPath}/views/css/app.css"
			media="screen" rel="stylesheet" type="text/css" />
		<link
			href="${facesContext.externalContext.requestContextPath}/views/css/reset.css"
			media="screen" rel="stylesheet" type="text/css" />
		<link
			href="${facesContext.externalContext.requestContextPath}/views/css/text.css"
			media="screen" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<ui:include src="header_simple.xhtml" />
		<br />
		<br />
		<br />
		<br />
		<br />
		<br />
		<br />
		<br />
		<h:form id="login_form" prependId="false">
		<div class="container_12">
		<div class="grid_8 alpha">
		
			<div id="content"  class="uniForm" >
			
				<fieldset>
				<legend>SIGN IN TO TEAMER.NET</legend>
			
				<div class="ctrlHolder">			
					<label for="email">email or phone <span style="font-size:10px;">in format 0412345678</span></label>
					<br />
					<!-- 
					<input class="textInput text" id="email" name="email" size="15" type="text" />
					-->
					<h:inputText id="j_username" class="textInput text" value="#{login.username}" required="true" />
				</div>
				
				<div class="ctrlHolder">
					<label for="password">password</label>
					<br />
					<!-- 
					<input class="textInput text" id="password" name="password" size="15" type="password" />
					 -->
					<h:inputSecret id="j_password" class="textInput text" value="#{login.password}" />
					<p class="formHint"><a href="/passwords/new">forgot your password?</a></p>
				</div>
				
				<div class="ctrlHolder">
					<label for="remember_me"><input class="checkbox" id="remember_me" name="remember_me" type="checkbox" value="1" /> remember me</label>
				</div>
				</fieldset>
				
				<div class="buttonHolder">
				
					<h:commandButton class="primaryAction" value="#{msgs.login}" action="#{login.loginAction}" />
					or <a href="/users/new">sign up</a>
					<p>
						
							<br/>
							<span id="au_terms_link">
								By clicking &lsquo;Log In&rsquo; you agree to our <a href="/pages/terms">terms &amp; conditions</a>.
							</span>
						
					</p>
					<fieldset>
					  <div class="button-group">
				      <div class="fb-login-button">
				        <a href="https://graph.facebook.com/oauth/authorize?client_id=174926505855692&amp;redirect_uri=http%3A%2F%2Fteamer.net%2Ffacebook%2Flogin_callback&amp;response_type=code&amp;scope=email+read_stream+publish_stream+user_hometown+user_location" class="fb_button fb_button_medium" id="login_facebook" title="Already logged in to Facebook? click this button to access Teamer."><span class='fb_button_text'>Login Using Facebook</span></a>
				      </div>
				    </div>
					</fieldset>
				</div>
				<br/><br/>
			</div>
			
		</div>
		</div>



		
		<p></p>
		</h:form>
		
		<ui:include src="footer.xhtml" />
	</body>
</f:view>
</html>
